<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>我的demo</title>
		<script type="text/javascript" src="js/JSUTIL_0.1.js" ></script>
	</head>
	<body>
		<a href="javascript:void(0)" onclick="testnull()">测试空值</a>
		<a href="javascript:void(0)" onclick="iftrue()">测试真的话执行函数</a>
		<a href="javascript:void(0)" onclick="getid()" id='huoqu'>测试获取id</a>
			<a href="javascript:void(0)" onclick="seconds()">和当前时间比对</a>
		<script type="text/javascript">
            //new content
			function testnull(){
				var strVal;
				LOL.tool.notNull2(strVal)
				console.info(LOL.tool.notNull2(strVal))
			}
			function seconds(){
				console.info(LOL.tool.getSeconds("2016-05-23 17:19:33"));
			}
			function iftrue(){
				LOL.tool.IfTrueRunFun(true,run);
				console.log("wo zhixingle ")
			}
			function run(){
				console.log("runing")
			}
			function getid(){
				console.log(LOL.selector.ById("huoqu"));
			}
			var ua = navigator.userAgent.toLowerCase();
			var IEs="";
			var s = ua.match(/msie ([\d.]+)/);
			IEs=s[1];
			var version=parseInt(IEs.substr(0,IEs.indexOf(".")));
			console.log(version)
		</script>
	</body>
</html>